package com.peanut.baby.http;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by anonymouslystudio on 2017/6/6.
 */

public class BaseResponse<T> implements Serializable{
    public static final String CODE_SUCCESS = "0";
    @SerializedName("code")
    public String     code;
    @SerializedName("error")
    public String  error;
    @SerializedName(value = "data",alternate = {"content"})
    public T       data;
}
